package com.om.abom.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.om.abom.entity.UpgradeRecordEntity;
import org.springframework.web.socket.WebSocketSession;

import java.io.IOException;

public interface UpgradeRecordService extends IService<UpgradeRecordEntity>
{
    void restore(long backupRecordId, WebSocketSession session) throws IOException;

    void upgrade(long data, WebSocketSession session) throws IOException, InterruptedException;
}
